<?php
/**
 * Page Template
 *
 * Loaded automatically by index.php?main_page=account.<br />
 * Displays previous orders and options to change various Customer Account settings
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_account_default.php 4086 2006-08-07 02:06:18Z ajeh $
 */
?>

<div class="account_page clearfix">
        	<div class="sidebar back">
            	<div class="user_sidebar">
                	<div class="user_info_icon">
                    	<img src="images/user/img_system.png" />
                        <div class="welcome_info"><?php echo $_SESSION[""]; ?>您好，欢迎您使用雅士尚品的用户管理系统。</div>
                    </div>
                    <div class="user_menu">
                    	<a href="<?php echo  zen_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') ; ?>" class="current">账户信息</a>
                    	<a href="<?php echo  zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') ; ?>">收货地址</a>
                    	<a href="<?php echo  zen_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') ; ?>">订单查询</a>
                    </div>
                </div>
            </div>
            <div class="account_right static_area back">
            	<div class="contents">
                	<h2><img src="images/user/txt_user_management.png" /></h2>
                    <h4>账户信息 </h4>
                    
                    <?php
    		    require($template->get_template_dir('/tpl_modules_list_history_all.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_list_history_all.php');
    			?>
                    
                </div>
            </div>
        </div>
    </div>

<br class="clearBoth" />



<?php
// only show when there is a GV balance
  if ($customer_has_gv_balance ) {
?>
<div id="sendSpendWrapper">
<?php require($template->get_template_dir('tpl_modules_send_or_spend.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_send_or_spend.php'); ?>
</div>
<?php
  }
?>
<br class="clearBoth" />
</div>